package com.platform.qujia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.qujia.enums.PrintEnum;
import com.platform.qujia.enums.ReceiptType;
import com.platform.qujia.pojo.ReceiptSection;

import java.io.Writer;
import java.util.List;
import java.util.Map;

/**
 * @date 2024/1/23
 */
public interface IReceiptSectionService extends IService<ReceiptSection> {

    List<ReceiptSection> queryAllReceiptSectionWithField(Long enterpriseId, ReceiptType receiptType);

    void mergeTemplate(Long enterpriseId, ReceiptType receiptType, PrintEnum printEnum, Map<String,Object> context, Writer writer);
}
